#include "serve.hpp"
#define HOST "0.0.0.0" // 监听所有网络接口
#define PORT 3306
#define USER "root"
#define PASS "BBMM1314pa"
#define DBNAME "gobang"
#include <unistd.h>
int main()
{
    // 初始化服务
    daemon(1, 1);
    gobang_serve serve(HOST, USER, PASS, DBNAME, PORT);
    serve.start(8080);
    return 0;
}
